package com.breeze.components.socket.redis;

/**
 * redis接收者接口
 *
 * @author breeze
 */
public interface RedisReceiver {

  String RECEIVER_METHOD_NAME = "receiveMessage";
  String REDIS_RECEIVER_NAME = "redisReceiver";

  /**
   * 回调方法
   *
   * @param message 接收到的消息
   */
  void receiveMessage(String message);
}
